import api from './api.js';
const ALIYUNOSS = {
    //aliyun OSS config
    uploadImageUrl: `${api.imageCdn}`,
    //默认存在根目录，可根据需求改
    AccessKeySecret: 'nx3UAqMBDpmZfniDRoSAYqx3man8po',
    OSSAccessKeyId: 'LTAI5tRAUoL1KZcWdeM72D1o',
    AliOSSBucketName: 'keju123',
    timeout: 87600 //这个是上传文件时Policy的失效时间
};

/**
 * page
 */
const PAGEPATH = {
    home: '/pages/home/home',
    company: '/pages/company/home',
    list: '/pages/list/list',
    products: '/pages/products/products',
    goods: '/pages/goods/goods',
    shop: '/pages/shop/shop',
    order: '/pages/order/order',
    checkout: '/pages/checkout/checkout',
    login: '/pages/login/login',
    reset: '/pages/reset/reset',
    modify: '/pages/modify/modify',
    register: '/pages/register/register',
    user: '/pages/user/user',
    newuser: '/pages/useradd/adduser',
    reguser: '/pages/reguser/adduser',
    wechat: '/pages/wechat/wechat',
    team: '/pages/userteam/team',
    cart: '/pages/cart/cart',
    web: '/pages/web/web',
    address: '/pages/address/address',
    addressInner: '/pages/address-inner/address-inner',
    userOrder: '/pages/userOrder/userOrder',
    userProfile: '/pages/userProfile/userProfile',
    collection: '/pages/collection/collection',
    orderExpress: '/pages/orderExpress/orderExpress',
    userName: '/pages/userName/userName',
    comments: '/pages/comments/comments',
    userNickName: '/pages/userNickName/userNickName',
    userSafety: '/pages/userSafety/userSafety',
    phoneModify: '/pages/phoneModify/phoneModify',
    coupon: '/pages/coupon/coupon',
    redPacketLog: '/pages/redPacketLog/redPacketLog',
    search: '/pages/search/search',
    searchResult: '/pages/searchResult/index',
    flashSale: '/pages/flashSale/flashSale',
    everydaySale: '/pages/everydaySale/everydaySale',
    goodTea: '/pages/goodTea/goodTea',
    waoVideo: '/pages/waoVideo/waoVideo',
    everydayShop: '/pages/everydayShop/everydayShop',
    shopSearch: '/pages/shopSearch/shopSearch',
    searchShop: '/pages/searchShop/searchShop',
    afterSale: '/pages/afterSale/afterSale',
    orderDetails: '/pages/orderDetails/orderDetails',
    commentsGoods: '/pages/commentsGoods/commentsGoods',
    commentsEdit: '/pages/commentsEdit/commentsEdit',
    commentsAppend: '/pages/commentsAppend/commentsAppend',
    commentsSuccess: '/pages/commentsSuccess/commentsSuccess',
    paymentFeedback: '/pages/paymentFeedback/paymentFeedback',
    applyRefund: '/pages/applyRefund/applyRefund',
    applySelectType: '/pages/applySelectType/applySelectType',
    aftersaleDetails: '/pages/aftersaleDetails/aftersaleDetails',
    aftersaleLog: '/pages/aftersaleLog/aftersaleLog',
    fillExpress: '/pages/fillExpress/fillExpress',
    settings: '/pages/settings/settings',
    myteam: '/pages/team/index',
    teamtj: '/pages/teamtj/index',
    achievement: '/pages/achievement/index',
    bill: '/pages/bill/index',
    distribut: '/pages/distribut/index',
    userdetail: '/pages/userdetail/index',
    history: '/pages/history/index',
    teamtop: '/pages/teamtop/index',
    teamDetail: '/pages/teamDetail/index',
    column: '/pages/column/index',
    column_test: '/pages/column_test/index',
    pointsshop: '/pages/pointsshop/index',
    pointsgoods: '/pages/pointsgoods/goods',
    pointsorder: '/pages/pointsorder/order',
    pointsorders: '/pages/pointsorders/index',
    gongyi: '/pages/gongyi/index',
    sharereg: '/pages/sharereg/index',
    pointsDetails: '/pages/pointsDetails/index',
    pointorderExpress: '/pages/pointorderExpress/index',
    shareorder: '/pages/shareorder/index',
    kaidian: '/pages/kaidian/index',
    jinhuo: '/pages/jinhuo/cart',
    buhuo: '/pages/buhuo/cart',
    shoptixi: '/pages/shoptixi/index',
    shoporders: '/pages/shoporders/index',
    bdorder: '/pages/bdorder/order',
    shopbdorders: '/pages/shopbdorders/index',
    bdcart: '/pages/bdcart/cart',
    userbdOrder: '/pages/userbdOrder/userOrder',
    bdorderDetails: '/pages/bdorderDetails/orderDetails',
    tihuo: '/pages/tihuo/cart',
    fudao: '/pages/fudao/index',
    gotab: '/pages/gotab/index',
    userjhOrder: '/pages/userjhOrder/userOrder',
    txjhOrder: '/pages/txjhOrder/userOrder',
    jhorderDetails: '/pages/jhorderDetails/orderDetails',
    wx: '/pages/wx/index',
    shenqing: '/pages/shenqing/index',
    shopsetting: '/pages/shopsetting/index',
    shopedit: '/pages/shopedit/index',
    zuji: '/pages/zuji/index',
    companydetail: '/pages/companydetail/index',
    weizhi: '/pages/weizhi/index',
    shopresult: '/pages/shopresult/index',
    tousu: '/pages/tousu/tousu',
    zhucai: '/pages/zhucai/home',
    anli: '/pages/anli/index',
    contacter: '/pages/contacter/index',
    editcontacter: '/pages/editcontacter/index',
    xqlist: '/pages/xqlist/index',
    fabuxuqiu: '/pages/xuqiu/index',
    PrivateChat: '/pages/PrivateChat/index',
    xuqiudetail: '/pages/xuqiudetail/index',
    vip: '/pages/vip/index',
    mdhd: '/pages/mdhd/index',
    admin: '/pages/admin/index',
    editadmin: '/pages/editadmin/index',
    putin: '/pages/putin/index'
};

/**
 * tabbar
 */
const TABBAR = {
    home: '/pages/home/home',
    list: '/pages/list/list',
    message: '/pages/message/message',
    cart: '/pages/cart/cart',
    user: '/pages/user/user'
};

/**
 * image
 */
const FILEURL = '/static/img';
const IMAGEPATH = {
    logo: `${FILEURL}/logo.png`,
    sublogo: `${FILEURL}/sublogo.png`,
    wechat: `${FILEURL}/wechat.png`,
    avatar: `${FILEURL}/avatar-default.png`,
    lazyload: `${FILEURL}/default-lazyload.png`,
    notice: `${FILEURL}/notice-title.png`,
    filterArrowDefault: `${FILEURL}/filter-arrow-default.png`,
    filterArrowUp: `${FILEURL}/filter-arrow-up.png`,
    filterArrowDown: `${FILEURL}/filter-arrow-down.png`,
    filterArrowWhiteDefault: `${FILEURL}/filter-arrowWhite-default.png`,
    filterArrowWhiteUp: `${FILEURL}/filter-arrowWhite-up.png`,
    filterArrowWhiteDown: `${FILEURL}/filter-arrowWhite-down.png`,
    filterScreen: `${FILEURL}/filter-screen.png`,
    goodsGrid: `${FILEURL}/goods-grid.png`,
    goodsList: `${FILEURL}/goods-list.png`,
    starRank: `${FILEURL}/star-rank.png`,
    wechatPay: `${FILEURL}/wechat-pay.png`,
    safetyFail: `${FILEURL}/safety-fail.png`,
    safetySuccess: `${FILEURL}/safety-success.png`,
    defaultIcon: `${FILEURL}/default-icon.png`,
    storeIcon1Gray: `${FILEURL}/storeICON1-gray.png`,
    storeIcon1Cur: `${FILEURL}/storeICON1-cur.png`,
    storeIcon2Gray: `${FILEURL}/storeICON2-gray.png`,
    storeIcon2Cur: `${FILEURL}/storeICON2-cur.png`,
    storeIcon3Gray: `${FILEURL}/storeICON3-gray.png`,
    storeIcon3Cur: `${FILEURL}/storeICON3-cur.png`,
    storeSkinCover: `${FILEURL}/storeSkin-cover.png`,
    cartEmpty: `${FILEURL}/cart-empty.png`,
    userOrderIcon1: `${FILEURL}/user-orderIcon1.png`,
    userOrderIcon2: `${FILEURL}/user-orderIcon2.png`,
    userOrderIcon3: `${FILEURL}/user-orderIcon3.png`,
    userOrderIcon4: `${FILEURL}/user-orderIcon4.png`,
    userOrderIcon5: `${FILEURL}/user-orderIcon5.png`,
    bduserOrderIcon1: `${FILEURL}/bduser-orderIcon1.png`,
    bduserOrderIcon2: `${FILEURL}/bduser-orderIcon2.png`,
    bduserOrderIcon3: `${FILEURL}/bduser-orderIcon3.png`,
    bduserOrderIcon4: `${FILEURL}/bduser-orderIcon4.png`,
    bduserOrderIcon5: `${FILEURL}/bduser-orderIcon5.png`,
    userToolIcon1: `${FILEURL}/user-toolIcon1.png`,
    userToolIcon2: `${FILEURL}/user-toolIcon2.png`,
    userToolIcon3: `${FILEURL}/user-toolIcon3.png`,
    userToolIcon4: `${FILEURL}/user-toolIcon4.png`,
    userToolIcon5: `${FILEURL}/user-toolIcon5.png`,
    userToolIcon6: `${FILEURL}/user-toolIcon6.png`,
    userToolIcon7: `${FILEURL}/user-toolIcon7.png`,
    userToolIcon8: `${FILEURL}/user-toolIcon8.png`,
    userToolIcon9: `${FILEURL}/user-toolIcon9.png`,
    userToolIcon10: `${FILEURL}/user-toolIcon10.png`,
    userToolIcon11: `${FILEURL}/user-toolIcon11.png`,
    userToolIcon12: `${FILEURL}/user-toolIcon12.png`,
    userToolIcon13: `${FILEURL}/user-toolIcon13.png`,
    userToolIcon14: `${FILEURL}/user-toolIcon14.png`,
    userToolIcon15: `${FILEURL}/user-toolIcon15.png`,
    userToolIcon16: `${FILEURL}/user-toolIcon16.png`,
    userToolIcon17: `${FILEURL}/user-toolIcon17.png`,
    userToolIcon18: `${FILEURL}/3.png`,
    userToolIcon19: `${FILEURL}/user-toolIcon19.png`,
    kaidian: `${FILEURL}/kaidian.png`,
    dianpu: `${FILEURL}/dianpu.png`,
    usershare: `${FILEURL}/share.png`,
    aixin: `${FILEURL}/aixin.png`,
    orderClose: `${FILEURL}/order-close.png`,
    orderDone: `${FILEURL}/order-done.png`,
    orderExpress: `${FILEURL}/order-express.png`,
    orderPayment: `${FILEURL}/order-payment.png`,
    orderPaid: `${FILEURL}/order-paid.png`,
    uploadDefault: `${FILEURL}/upload-default.png`,
    applyChange: `${FILEURL}/apply-change.png`,
    applyRefund: `${FILEURL}/apply-refund.png`,
    videoPlay: `${FILEURL}/video-play.png`,
    badun: `${FILEURL}/badun.png`
};
module.exports = {
    getPage: PAGEPATH,
    getImage: IMAGEPATH,
    getTabbar: TABBAR,
    aliyunOSS: ALIYUNOSS
};
